/**
*作者 ：王文成
*日期:2011-03-07
*Email: wellse@qq.com
*/

var _ClickNode = function(){
	var node = $('#TreeUL_areaId').tree('getSelected') || $('#TreeUL_areaId').tree("getRoot"); 
	$('#Combo_areaId').combo('setValue',node.id)
	$('#Combo_areaId').combo('setText', node.text)
	$('#Combo_areaId').combo('hidePanel'); 
	$('#areaId').val(node.id);  
};  
$( function(){  
	$('#Combo_areaId').combo({ 
		required:false, 
		editable:false, 
		width:150, 
		panelWidth:200, 
		panelHeight:200 
	}); 
	$('#TreeUL_areaId').appendTo($('#Combo_areaId').combo('panel')); 
	_ClickNode();
});
